//
//  SchoolModel.m
//  BOSS-SOOC
//
//  Created by apple on 16/8/12.
//  Copyright © 2016年 Gcx. All rights reserved.
//

#import "SchoolModel.h"

@implementation SchoolModel

- (id)initWithDic:(NSDictionary *)dic{
    
    if (self = [super init]) {
        
        _kcfm = dic[@"kcfm"];
        _kcid = dic[@"kcid"];
        _kcjs = dic[@"kcjs"];
        _kcmc = dic[@"kcmc"];
        _kcpj = dic[@"kcpj"];
        _kcrs = dic[@"kcrs"];
        _kcsx = dic[@"kcsx"];
        _lastpage = dic[@"lastpage"];
        _kcls = dic[@"kcls"];
        _isEncrypt = dic[@"isEncrypt"];
        _zjls = dic[@"zjls"];
//        _cellHeight = (SIZEWIDTH/2-68*Bili)*277/486+78*Bili;

        
        [self setValuesForKeysWithDictionary:dic];
    }
    return self;
}


+(SchoolModel *)modelWithDic:(NSDictionary *)dic{
    
    return [[SchoolModel alloc]initWithDic:dic];
}

<<<<<<< HEAD
-(void)setValue:(id)value forUndefinedKey:(NSString *)key{
    
}
=======
- (void)setValue:(id)value forUndefinedKey:(NSString *)key{
    
    
}

>>>>>>> 1dcd124a62c1f4d5dff9fbf868fe64c33aa8265f
@end
